package com.jumi.microservice.constant.usercash;

import com.jumi.microservice.common.base.dto.AbstractEnum;

/**
 * @author scw
 * @date 2020/11/26
 */
public enum CpsCashStatusApiEnum implements AbstractEnum {
    //提现状态 0-正在审核 1-提现处理中 2-审核失败 3-提现成功 4-提现失败
    STATUS_APPLY(0, "正在审核"),
    STATUS_AUDIT_PASSED(1, "提现处理中"),
    STATUS_AUDIT_FAILED(2, "审核失败"),
    STATUS_CASH_ACCOUNT(3, "提现成功"),
    STATUS_CASH_FAILED(4, "提现失败");

    private Integer code;
    private String desc;

    CpsCashStatusApiEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @Override
    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
